<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
  <style>
    #divMove{
      height: 500px;
      width: 500px;
      border: 1px solid red;
    }
  </style>
</head>
<body>
<!--要求：获取鼠标当前的坐标-->
mouse：<span id="mouseMove"></span>
<div id="divMove">
  在这里移动鼠标
</div>

<script>
  //网页加载完毕后，响应事件
  $(function (){
    $("#divMove").mousemove(function (e){
      $("#mouseMove").text('x:'+e.pageX+'y:'+(e.pageY));
    })
  })
</script>
</body>
</html>